package com.example.pojo;

import com.example.pojo.user.RolePermission;
import com.example.pojo.user.UserRole;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.List;

@Data
@ApiModel(description = "用户实体")
public class User implements Serializable {
    int id;
    String name;
    String telephone;
    String password;
    String gender;
    String signature;
    String img;
    String uuid;
    String background;
    String code;
    List<String> permissions;
    List<String> roles;
}
